﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MaxLeaf.Common;
using System.Data;
using MaxLeaf.DB;

namespace MaxLeaf.DAL
{
    public class SEOrderDALBuilder : BaseDALBuilder
    {
     
        public SEOrderDALBuilder()
            : base()
        {
            W2KDAL = new W2K.SEOrderDAL();
            K2WDAL = new K2W.SEOrderDAL();

            Web2SCPDAL = new Web2SCP.order_mainDAL();
        }

        protected override bool ValidCheck(ServerInfo orgServer, ServerInfo destServer, DataRowView drvLog)
        {
            if (CvtFunc.ToInt(drvLog[DEL.LogDEL.LogStatus]) == (int)LogStatus.Delete)
            {
                return true;
            }

            return base.ValidCheck(orgServer, destServer, drvLog);
        }

    }
}
